var app = getApp();

function my_index(start_index, callback) {
  console.log("user my_index ... ");
  wx.showLoading();
  wx.request({
    url: app.globalData.default_url,
    data: {
      action: 'api.v1.user.my_index',
      start_index: start_index,
      yuyue_session: wx.getStorageSync("yuyue_session"),
    },
    success: function (res) {
      callback(res);
    },
    complete: function () {
      wx.hideLoading();
    }
  });
}

module.exports = {
  my_index: my_index,

}